<?php
html::printPath(html::createCrudPath('language', $language, 'name', 'code'));
$msg->printMessages();

$fb = new FormBuilder('language', $language);
$fb->text('code')->required()->readOnly(sql::isPersistent($language));
$fb->text('name')->required();
$fb->text('name_native')->required();
$fb->submitButton();
$fb->write();
